package com.diet.system.domain;

import com.diet.common.core.domain.BaseEntity;

public class DietUserBehavior extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 用户ID */
    private Long userId;

    /** 菜品ID */
    private Long dishId;

    /** 交互类型（枚举：评分/收藏/购买/点击） */
    private String interactionType;

    /** 评分（1-5分，仅评分时有效） */
    private Integer rating;

    /** 次数（仅点击时有效） */
    private Integer count;
    // 菜品信息字段
    /** 菜品名称 */
    private String dishName;

    /** 菜系 */
    private String cuisine;

    /** 口味 */
    private String taste;

    /** 烹饪方式 */
    private String cookingMethod;

    /** 热量 */
    private java.math.BigDecimal calories;

    /** 蛋白质 */
    private java.math.BigDecimal protein;

    /** 脂肪 */
    private java.math.BigDecimal fat;

    /** 碳水化合物 */
    private java.math.BigDecimal carbohydrate;

    /** 纤维素 */
    private java.math.BigDecimal fiber;

    /** 菜品图片URL */
    private String imgUrl;

    // Getter和Setter方法
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getDishId() {
        return dishId;
    }

    public void setDishId(Long dishId) {
        this.dishId = dishId;
    }

    public String getInteractionType() {
        return interactionType;
    }

    public void setInteractionType(String interactionType) {
        this.interactionType = interactionType;
    }

    public Integer getRating() {
        return rating;
    }

    public void setRating(Integer rating) {
        this.rating = rating;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public String getDishName() {
        return dishName;
    }

    public void setDishName(String dishName) {
        this.dishName = dishName;
    }

    public String getCuisine() {
        return cuisine;
    }

    public void setCuisine(String cuisine) {
        this.cuisine = cuisine;
    }

    public String getTaste() {
        return taste;
    }

    public void setTaste(String taste) {
        this.taste = taste;
    }

    public String getCookingMethod() {
        return cookingMethod;
    }

    public void setCookingMethod(String cookingMethod) {
        this.cookingMethod = cookingMethod;
    }

    public java.math.BigDecimal getCalories() {
        return calories;
    }

    public void setCalories(java.math.BigDecimal calories) {
        this.calories = calories;
    }

    public java.math.BigDecimal getProtein() {
        return protein;
    }

    public void setProtein(java.math.BigDecimal protein) {
        this.protein = protein;
    }

    public java.math.BigDecimal getFat() {
        return fat;
    }

    public void setFat(java.math.BigDecimal fat) {
        this.fat = fat;
    }

    public java.math.BigDecimal getCarbohydrate() {
        return carbohydrate;
    }

    public void setCarbohydrate(java.math.BigDecimal carbohydrate) {
        this.carbohydrate = carbohydrate;
    }

    public java.math.BigDecimal getFiber() {
        return fiber;
    }

    public void setFiber(java.math.BigDecimal fiber) {
        this.fiber = fiber;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }
}
